inherited FConsultaConsumo: TFConsultaConsumo
  Top = 174
  Width = 900
  Caption = 'Consulta Consumo'
  Constraints.MaxWidth = 900
  Constraints.MinWidth = 900
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited pcCadastro: TPageControl
    Width = 892
    inherited TsPesquisa: TTabSheet
      inherited pnPesquisa: TPanel
        Width = 884
      end
      inherited dbgPesquisaPadra: TDBGrid
        Width = 884
        Columns = <
          item
            Alignment = taCenter
            Expanded = False
            FieldName = 'PROD_CODIGO'
            Title.Alignment = taCenter
            Width = 60
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PROD_DESCRICAOENT'
            Width = 300
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PROD_DESCRICAOSAI'
            Width = 300
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'SAL_EST_QUANTIDADEDISP'
            Title.Alignment = taCenter
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PROF_REF_FABRICANTE'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'PROD_REFERENCIA'
            Visible = True
          end>
      end
      inherited pnPesquisaPadrao: TPanel
        Width = 884
      end
    end
    inherited TsCadastro: TTabSheet
      inherited panel1: TPanel
        Width = 884
        Ctl3D = False
        ParentCtl3D = False
        object Label1: TLabel [0]
          Left = 8
          Top = 48
          Width = 44
          Height = 16
          Caption = 'C'#243'digo:'
        end
        object Label2: TLabel [1]
          Left = 8
          Top = 72
          Width = 76
          Height = 16
          Caption = 'C'#243'd Anterior:'
        end
        object Label4: TLabel [2]
          Left = 144
          Top = 48
          Width = 105
          Height = 16
          Caption = 'Desc. de Entrada:'
        end
        object Label3: TLabel [3]
          Left = 144
          Top = 72
          Width = 93
          Height = 16
          Caption = 'Desc. de Sa'#237'da:'
        end
        object Label5: TLabel [4]
          Left = 576
          Top = 48
          Width = 92
          Height = 16
          Caption = 'Ref. Fabricante:'
        end
        object Label6: TLabel [5]
          Left = 576
          Top = 72
          Width = 96
          Height = 16
          Caption = 'Ref. Fornecedor:'
        end
        object DBText1: TDBText [6]
          Left = 79
          Top = 48
          Width = 58
          Height = 17
          Alignment = taRightJustify
          DataField = 'PROD_CODIGO'
          DataSource = dsCadastro
        end
        object DBText2: TDBText [7]
          Left = 85
          Top = 72
          Width = 52
          Height = 17
          Alignment = taRightJustify
          DataField = 'PROD_CODIGO_ANT'
          DataSource = dsCadastro
        end
        object DBText3: TDBText [8]
          Left = 252
          Top = 48
          Width = 320
          Height = 17
          DataField = 'PROD_DESCRICAOENT'
          DataSource = dsCadastro
        end
        object DBText4: TDBText [9]
          Left = 252
          Top = 72
          Width = 320
          Height = 17
          DataField = 'PROD_DESCRICAOSAI'
          DataSource = dsCadastro
        end
        object DBText5: TDBText [10]
          Left = 676
          Top = 48
          Width = 72
          Height = 17
          DataField = 'PROD_REFERENCIA'
          DataSource = dsCadastro
        end
        object DBText6: TDBText [11]
          Left = 676
          Top = 72
          Width = 73
          Height = 17
          DataField = 'PROD_FORNECEDOR_PREF'
          DataSource = dsCadastro
        end
        object Label7: TLabel [12]
          Left = 752
          Top = 48
          Width = 51
          Height = 16
          Caption = 'Unidade:'
        end
        object Label8: TLabel [13]
          Left = 752
          Top = 72
          Width = 40
          Height = 16
          Caption = 'Marca:'
        end
        object DBText7: TDBText [14]
          Left = 806
          Top = 48
          Width = 69
          Height = 17
          DataField = 'PROD_UNIDSAIDA'
          DataSource = dsCadastro
        end
        object DBText8: TDBText [15]
          Left = 795
          Top = 72
          Width = 83
          Height = 17
          DataField = 'PROD_MARCA'
          DataSource = dsCadastro
        end
        object Label10: TLabel [16]
          Left = 8
          Top = 128
          Width = 117
          Height = 16
          Caption = 'Ultimo Fechamento:'
        end
        object edUltimoFechamento: TDBText [17]
          Left = 128
          Top = 128
          Width = 65
          Height = 17
          DataField = 'PAR_EST_DTULTIMOFECHAMENTO'
          DataSource = dsParametro
        end
        object Label12: TLabel [18]
          Left = 8
          Top = 360
          Width = 98
          Height = 16
          Caption = 'Estoque M'#237'nimo:'
        end
        object Label13: TLabel [19]
          Left = 8
          Top = 384
          Width = 102
          Height = 16
          Caption = 'Estoque M'#225'ximo:'
        end
        object Label14: TLabel [20]
          Left = 8
          Top = 408
          Width = 100
          Height = 16
          Caption = 'Ponto de Pedido:'
        end
        object Label15: TLabel [21]
          Left = 8
          Top = 312
          Width = 86
          Height = 16
          Caption = 'Estoque Atual:'
        end
        object DBText13: TDBText [22]
          Left = 128
          Top = 408
          Width = 65
          Height = 17
          Alignment = taRightJustify
          DataField = 'PROD_QTD_PPEDIDO'
          DataSource = dsCadastro
        end
        object Label16: TLabel [23]
          Left = 208
          Top = 312
          Width = 62
          Height = 16
          Caption = 'Data/Hora:'
        end
        object DBText14: TDBText [24]
          Left = 282
          Top = 312
          Width = 57
          Height = 16
          AutoSize = True
          DataField = 'SAL_EST_ULTIMA_ATUALIZACAO'
          DataSource = dsSaldoEstoque
        end
        object Label17: TLabel [25]
          Left = 8
          Top = 336
          Width = 114
          Height = 16
          Caption = 'Estoque Dispon'#237'vel:'
        end
        object lbAtual: TLabel [26]
          Left = 128
          Top = 312
          Width = 65
          Height = 16
          Alignment = taRightJustify
          AutoSize = False
        end
        object lbDisp: TLabel [27]
          Left = 128
          Top = 336
          Width = 65
          Height = 16
          Alignment = taRightJustify
          AutoSize = False
        end
        object lbMin: TLabel [28]
          Left = 128
          Top = 360
          Width = 65
          Height = 16
          Alignment = taRightJustify
          AutoSize = False
        end
        object lbMax: TLabel [29]
          Left = 128
          Top = 384
          Width = 65
          Height = 16
          Alignment = taRightJustify
          AutoSize = False
        end
        object lbTotal: TLabel [30]
          Left = 776
          Top = 142
          Width = 95
          Height = 16
          Alignment = taRightJustify
          AutoSize = False
          Caption = '0'
        end
        object Label9: TLabel [31]
          Left = 677
          Top = 142
          Width = 87
          Height = 16
          Alignment = taRightJustify
          Caption = 'Consumo Total'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        inherited panel2: TPanel
          Width = 882
          inherited SBAtualiza: TSpeedButton
            Left = 856
          end
          inherited BtnIncluir: TBitBtn
            Visible = False
          end
          inherited BtnEditar: TBitBtn
            Visible = False
          end
          inherited BtnExcluir: TBitBtn
            Visible = False
          end
          inherited DBNavigator1: TDBNavigator
            Left = 743
            Hints.Strings = ()
          end
          inherited streg: TStaticText
            Left = 619
          end
        end
        inherited panel3: TPanel
          Width = 882
          inherited BtnSalvar: TBitBtn
            Visible = False
          end
          inherited BtnCancelar: TBitBtn
            Visible = False
          end
        end
        object GroupBox1: TGroupBox
          Left = 8
          Top = 156
          Width = 864
          Height = 66
          Caption = '  Consumo  '
          TabOrder = 2
          object DBGrid1: TDBGrid
            Tag = 5
            Left = 1
            Top = 21
            Width = 862
            Height = 44
            BorderStyle = bsNone
            Color = clBtnFace
            Ctl3D = False
            DataSource = dsConsumo
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = []
            Options = [dgEditing, dgTitles, dgColumnResize, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
            ParentCtl3D = False
            ParentFont = False
            TabOrder = 0
            TitleFont.Charset = ANSI_CHARSET
            TitleFont.Color = clWindowText
            TitleFont.Height = -13
            TitleFont.Name = 'Arial'
            TitleFont.Style = []
            Columns = <
              item
                Expanded = False
                FieldName = 'JAN'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'FEV'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'MAR'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'ABR'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'MAI'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'JUN'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'JUL'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'AGO'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'STB'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'OUT'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'NOV'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = 'DEZ'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end>
          end
          object GroupBox3: TGroupBox
            Left = 805
            Top = 34
            Width = 58
            Height = 8
            TabOrder = 1
          end
        end
        object GroupBox2: TGroupBox
          Left = 8
          Top = 104
          Width = 864
          Height = 8
          TabOrder = 3
        end
        object GroupBox4: TGroupBox
          Left = 8
          Top = 236
          Width = 865
          Height = 66
          Caption = '  Consumo M'#233'dio (Quantidade Meses)  '
          TabOrder = 4
          object DBGrid2: TDBGrid
            Tag = 5
            Left = 1
            Top = 21
            Width = 850
            Height = 44
            BorderStyle = bsNone
            Color = clBtnFace
            Ctl3D = False
            DataSource = dsMedia
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = []
            Options = [dgEditing, dgTitles, dgColumnResize, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
            ParentCtl3D = False
            ParentFont = False
            TabOrder = 0
            TitleFont.Charset = ANSI_CHARSET
            TitleFont.Color = clWindowText
            TitleFont.Height = -13
            TitleFont.Name = 'Arial'
            TitleFont.Style = []
            Columns = <
              item
                Expanded = False
                FieldName = '12'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '11'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '10'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '09'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '08'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '07'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '06'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '05'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '04'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '03'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '02'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end
              item
                Expanded = False
                FieldName = '01'
                Title.Alignment = taCenter
                Width = 70
                Visible = True
              end>
          end
          object GroupBox5: TGroupBox
            Left = 841
            Top = 35
            Width = 23
            Height = 7
            TabOrder = 1
          end
        end
      end
    end
  end
  inherited PopupMenu1: TPopupMenu
    Left = 352
    Top = 392
  end
  inherited dsCadastro: TDataSource
    Left = 400
    Top = 144
  end
  inherited QCadastro: TQuery
    SQL.Strings = (
      'SELECT'
      '  *'
      'FROM'
      '  PRODUTO'
      
        '  INNER JOIN SALDOESTOQUE ON (PRODUTO.PROD_CODIGO = SALDOESTOQUE' +
        '.SAL_EST_PRODUTO)'
      'WHERE'
      '  (PRODUTO.EXCLUIDO <> '#39'S'#39'  OR PRODUTO.EXCLUIDO IS NULL)')
    Left = 352
  end
  inherited dspCadastro: TDataSetProvider
    Left = 536
    Top = 432
  end
  inherited cdsCadastro: TClientDataSet
    Active = True
    Left = 424
    Top = 368
    object cdsCadastroPROD_CODIGO: TIntegerField
      DisplayLabel = 'C'#243'digo'
      FieldName = 'PROD_CODIGO'
    end
    object cdsCadastroPROD_DESCRICAOENT: TStringField
      DisplayLabel = 'Desc. Entrada'
      FieldName = 'PROD_DESCRICAOENT'
      Size = 60
    end
    object cdsCadastroPROD_DESCRICAOSAI: TStringField
      DisplayLabel = 'Desc. Sa'#237'da'
      FieldName = 'PROD_DESCRICAOSAI'
      Size = 60
    end
    object cdsCadastroPROD_REFERENCIA: TStringField
      DisplayLabel = 'Ref. Fornecedor'
      FieldName = 'PROD_REFERENCIA'
    end
    object cdsCadastroPROF_REF_FABRICANTE: TStringField
      DisplayLabel = 'Ref. Fabricante'
      FieldName = 'PROF_REF_FABRICANTE'
    end
    object cdsCadastroPROD_UNIDSAIDA: TStringField
      DisplayLabel = 'Unidade'
      FieldName = 'PROD_UNIDSAIDA'
      Size = 5
    end
    object cdsCadastroPROD_GRUPOPRODUTO: TIntegerField
      FieldName = 'PROD_GRUPOPRODUTO'
    end
    object cdsCadastroPROD_CLASSIFPROD1: TIntegerField
      FieldName = 'PROD_CLASSIFPROD1'
    end
    object cdsCadastroPROD_CLASSFISCAL2: TIntegerField
      FieldName = 'PROD_CLASSFISCAL2'
    end
    object cdsCadastroPROD_CLASSFISCAL9: TIntegerField
      FieldName = 'PROD_CLASSFISCAL9'
    end
    object cdsCadastroPROD_CONTACONTABIL: TIntegerField
      FieldName = 'PROD_CONTACONTABIL'
    end
    object cdsCadastroPROD_ICMS: TStringField
      FieldName = 'PROD_ICMS'
      Size = 6
    end
    object cdsCadastroPROD_IPI: TStringField
      FieldName = 'PROD_IPI'
      Size = 6
    end
    object cdsCadastroPROD_TIPO: TIntegerField
      FieldName = 'PROD_TIPO'
    end
    object cdsCadastroPROD_NATUREZA: TIntegerField
      FieldName = 'PROD_NATUREZA'
    end
    object cdsCadastroPROD_SITUACAOTRIBUTARIA: TIntegerField
      FieldName = 'PROD_SITUACAOTRIBUTARIA'
    end
    object cdsCadastroPROD_VALOR: TFloatField
      FieldName = 'PROD_VALOR'
    end
    object cdsCadastroPROD_VALORCOMPRA: TFloatField
      FieldName = 'PROD_VALORCOMPRA'
    end
    object cdsCadastroPROD_SUBS_TRIBUTARIA: TFloatField
      FieldName = 'PROD_SUBS_TRIBUTARIA'
    end
    object cdsCadastroPROD_INCENTIVO_FISCAL: TStringField
      FieldName = 'PROD_INCENTIVO_FISCAL'
      Size = 3
    end
    object cdsCadastroPROD_PESO_BRUTO: TFloatField
      FieldName = 'PROD_PESO_BRUTO'
    end
    object cdsCadastroPROD_PESO_LIQUIDO: TFloatField
      FieldName = 'PROD_PESO_LIQUIDO'
    end
    object cdsCadastroPROD_ALIQUOTA_ICMS: TFloatField
      FieldName = 'PROD_ALIQUOTA_ICMS'
    end
    object cdsCadastroPROD_ALIQUOTA_IPI: TFloatField
      FieldName = 'PROD_ALIQUOTA_IPI'
    end
    object cdsCadastroPROD_REDUCAO_BASE_ICMS: TFloatField
      FieldName = 'PROD_REDUCAO_BASE_ICMS'
    end
    object cdsCadastroPROD_REDUCAO_BASE_IPI: TFloatField
      FieldName = 'PROD_REDUCAO_BASE_IPI'
    end
    object cdsCadastroPROD_PERC_AGREGACAO_ICMS_SUB: TFloatField
      FieldName = 'PROD_PERC_AGREGACAO_ICMS_SUB'
    end
    object cdsCadastroPROD_PERC_PIS: TFloatField
      FieldName = 'PROD_PERC_PIS'
    end
    object cdsCadastroPROD_CREDITAR_PIS: TIntegerField
      FieldName = 'PROD_CREDITAR_PIS'
    end
    object cdsCadastroPROD_PERC_COFINS: TFloatField
      FieldName = 'PROD_PERC_COFINS'
    end
    object cdsCadastroPROD_CREDITAR_COFINS: TIntegerField
      FieldName = 'PROD_CREDITAR_COFINS'
    end
    object cdsCadastroPROD_ICMS_SUBS: TStringField
      FieldName = 'PROD_ICMS_SUBS'
      Size = 6
    end
    object cdsCadastroPROD_CONTACONTABIL_REC_CUST: TIntegerField
      FieldName = 'PROD_CONTACONTABIL_REC_CUST'
    end
    object cdsCadastroPROD_CONTACONTABIL_CUSTO: TIntegerField
      FieldName = 'PROD_CONTACONTABIL_CUSTO'
    end
    object cdsCadastroPROD_CONTACONTABIL_RECEITA: TIntegerField
      FieldName = 'PROD_CONTACONTABIL_RECEITA'
    end
    object cdsCadastroPROD_CONTADEVOLUCAO: TIntegerField
      FieldName = 'PROD_CONTADEVOLUCAO'
    end
    object cdsCadastroPROD_CONSIDERAR_TOPERACAO_NFSAI: TIntegerField
      FieldName = 'PROD_CONSIDERAR_TOPERACAO_NFSAI'
    end
    object cdsCadastroPROD_CODIGO_APURACAO: TStringField
      FieldName = 'PROD_CODIGO_APURACAO'
      FixedChar = True
      Size = 2
    end
    object cdsCadastroPROD_IDENTI_ESPECIAL: TStringField
      FieldName = 'PROD_IDENTI_ESPECIAL'
      FixedChar = True
      Size = 2
    end
    object cdsCadastroPROD_CODIGO_NBM: TStringField
      FieldName = 'PROD_CODIGO_NBM'
      FixedChar = True
      Size = 8
    end
    object cdsCadastroPROD_PROPIEDADE: TIntegerField
      FieldName = 'PROD_PROPIEDADE'
    end
    object cdsCadastroPROD_COMISSAO_VEND: TFloatField
      FieldName = 'PROD_COMISSAO_VEND'
    end
    object cdsCadastroPROD_CV: TFloatField
      FieldName = 'PROD_CV'
    end
    object cdsCadastroPROD_FORNECEDOR_PREF: TIntegerField
      FieldName = 'PROD_FORNECEDOR_PREF'
    end
    object cdsCadastroPROD_DESCRICAO_COMPLEMENTO: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO'
      Size = 70
    end
    object cdsCadastroPROD_DESCRICAO_COMPLEMENTO2: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO2'
      Size = 70
    end
    object cdsCadastroPROD_DESCRICAO_COMPLEMENTO3: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO3'
      Size = 70
    end
    object cdsCadastroPROD_DESCRICAO_COMPLEMENTO4: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO4'
      Size = 70
    end
    object cdsCadastroPROD_DESCRICAO_COMPLEMENTO5: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO5'
      Size = 70
    end
    object cdsCadastroPROD_TRAVAPEDIDO: TStringField
      FieldName = 'PROD_TRAVAPEDIDO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_CODIGO_CONFERENCIA: TIntegerField
      FieldName = 'PROD_CODIGO_CONFERENCIA'
    end
    object cdsCadastroUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsCadastroUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsCadastroUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsCadastroDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsCadastroDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsCadastroDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsCadastroEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_MARCA: TStringField
      FieldName = 'PROD_MARCA'
    end
    object cdsCadastroPROD_FABRICANTE: TIntegerField
      FieldName = 'PROD_FABRICANTE'
    end
    object cdsCadastroPROD_NOVO_RECUPERADO: TStringField
      FieldName = 'PROD_NOVO_RECUPERADO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_LOCALIZACAO: TStringField
      FieldName = 'PROD_LOCALIZACAO'
      Size = 6
    end
    object cdsCadastroPROD_ATIVO: TStringField
      FieldName = 'PROD_ATIVO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_CONTROLE_MANUTENCAO: TStringField
      FieldName = 'PROD_CONTROLE_MANUTENCAO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_KIT: TStringField
      FieldName = 'PROD_KIT'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_USO_CONSUMO: TStringField
      FieldName = 'PROD_USO_CONSUMO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_MERCADO_NR: TStringField
      FieldName = 'PROD_MERCADO_NR'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_PERECIVEL: TStringField
      FieldName = 'PROD_PERECIVEL'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_RESUPRIMENTO: TStringField
      FieldName = 'PROD_RESUPRIMENTO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_PPEDIDO: TStringField
      FieldName = 'PROD_PPEDIDO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_QTD_PPEDIDO: TIntegerField
      FieldName = 'PROD_QTD_PPEDIDO'
    end
    object cdsCadastroPROD_DT_PPEDIDO: TDateTimeField
      FieldName = 'PROD_DT_PPEDIDO'
    end
    object cdsCadastroPROD_PRAZO_ENTREGA: TIntegerField
      FieldName = 'PROD_PRAZO_ENTREGA'
    end
    object cdsCadastroPROD_TIPOVENDA: TIntegerField
      FieldName = 'PROD_TIPOVENDA'
    end
    object cdsCadastroPROD_IND_CENTROCUSTO: TStringField
      FieldName = 'PROD_IND_CENTROCUSTO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroPROD_CODIGO_ANT: TIntegerField
      DisplayLabel = 'Cod. Anterior'
      FieldName = 'PROD_CODIGO_ANT'
    end
    object cdsCadastroCHAVE_CLASS: TStringField
      FieldName = 'CHAVE_CLASS'
      Size = 6
    end
    object cdsCadastroSAL_EST_QUANTIDADEEST: TFloatField
      Alignment = taCenter
      DisplayLabel = 'Saldo'
      FieldName = 'SAL_EST_QUANTIDADEEST'
      DisplayFormat = '0.###'
    end
    object cdsCadastroSAL_EST_QUANTIDADEDISP: TFloatField
      Alignment = taCenter
      DisplayLabel = 'Saldo'
      FieldName = 'SAL_EST_QUANTIDADEDISP'
      DisplayFormat = '0.###'
    end
  end
  inherited OpenDialog1: TOpenDialog
    Left = 288
    Top = 416
  end
  object cdsConsumo: TClientDataSet
    Active = True
    Aggregates = <>
    Params = <>
    ProviderName = 'dspConsumo'
    Left = 488
    Top = 383
    object cdsConsumoJAN: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'JAN'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoFEV: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'FEV'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoMAR: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'MAR'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoABR: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'ABR'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoMAI: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'MAI'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoJUN: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'JUN'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoJUL: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'JUL'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoAGO: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'AGO'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoSTB: TFloatField
      Alignment = taCenter
      DisplayLabel = 'SET'
      DisplayWidth = 9
      FieldName = 'STB'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoOUT: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'OUT'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoNOV: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'NOV'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoDEZ: TFloatField
      Alignment = taCenter
      DisplayWidth = 9
      FieldName = 'DEZ'
      DisplayFormat = '0'
      Precision = 10
    end
    object cdsConsumoCON_QTDMESES: TIntegerField
      DisplayLabel = '  '
      DisplayWidth = 50
      FieldName = 'CON_QTDMESES'
    end
  end
  object dsConsumo: TDataSource
    DataSet = cdsConsumo
    Left = 480
    Top = 128
  end
  object QConsumo: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM CONSUMOMENSAL')
    Left = 416
    Top = 288
  end
  object dspConsumo: TDataSetProvider
    DataSet = QConsumo
    Constraints = True
    Left = 624
    Top = 391
  end
  object QSaldoEstoque: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM SALDOESTOQUE')
    Left = 520
    Top = 216
    object QSaldoEstoqueSAL_EST_PRODUTO: TIntegerField
      FieldName = 'SAL_EST_PRODUTO'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_PRODUTO'
    end
    object QSaldoEstoqueSAL_EST_QUANTIDADEEST: TFloatField
      FieldName = 'SAL_EST_QUANTIDADEEST'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_QUANTIDADEEST'
      DisplayFormat = '0'
    end
    object QSaldoEstoqueSAL_EST_QUANTIDADEDISP: TFloatField
      FieldName = 'SAL_EST_QUANTIDADEDISP'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_QUANTIDADEDISP'
      DisplayFormat = '0'
    end
    object QSaldoEstoqueSAL_EST_DATA_SALDO: TDateTimeField
      FieldName = 'SAL_EST_DATA_SALDO'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_DATA_SALDO'
    end
    object QSaldoEstoqueSAL_EST_CUSTOMEDIOUNIT: TFloatField
      FieldName = 'SAL_EST_CUSTOMEDIOUNIT'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_CUSTOMEDIOUNIT'
      DisplayFormat = '0'
    end
    object QSaldoEstoqueSAL_EST_CUSTOMEDIOTOTAL: TFloatField
      FieldName = 'SAL_EST_CUSTOMEDIOTOTAL'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_CUSTOMEDIOTOTAL'
      DisplayFormat = '0'
    end
    object QSaldoEstoqueSAL_EST_CUSTOREPOSICAO: TFloatField
      FieldName = 'SAL_EST_CUSTOREPOSICAO'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_CUSTOREPOSICAO'
      DisplayFormat = '0'
    end
    object QSaldoEstoqueSAL_EST_DATA_CUSTO: TDateTimeField
      FieldName = 'SAL_EST_DATA_CUSTO'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_DATA_CUSTO'
    end
    object QSaldoEstoqueSAL_EST_QTD_MINIMA: TFloatField
      FieldName = 'SAL_EST_QTD_MINIMA'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_QTD_MINIMA'
      DisplayFormat = '0'
    end
    object QSaldoEstoqueSAL_EST_DATA_QTD_MINIMA: TDateTimeField
      FieldName = 'SAL_EST_DATA_QTD_MINIMA'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_DATA_QTD_MINIMA'
    end
    object QSaldoEstoqueSAL_EST_QTD_MAXIMA: TFloatField
      FieldName = 'SAL_EST_QTD_MAXIMA'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_QTD_MAXIMA'
      DisplayFormat = '0'
    end
    object QSaldoEstoqueSAL_EST_DATA_QTD_MAXIMA: TDateTimeField
      FieldName = 'SAL_EST_DATA_QTD_MAXIMA'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_DATA_QTD_MAXIMA'
    end
    object QSaldoEstoqueCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
      Origin = 'BASE.SALDOESTOQUE.CODIGOEMPRESA'
    end
    object QSaldoEstoqueSAL_EST_ULTIMA_ATUALIZACAO: TDateTimeField
      FieldName = 'SAL_EST_ULTIMA_ATUALIZACAO'
      Origin = 'BASE.SALDOESTOQUE.SAL_EST_ULTIMA_ATUALIZACAO'
      DisplayFormat = 'dd/mm/yyyy hh:mm'
    end
    object QSaldoEstoqueUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
      Origin = 'BASE.SALDOESTOQUE.USUARIO_CADASTRO'
    end
    object QSaldoEstoqueUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
      Origin = 'BASE.SALDOESTOQUE.USUARIO_AUTERACAO'
    end
    object QSaldoEstoqueUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
      Origin = 'BASE.SALDOESTOQUE.USUARIO_EXCLUSAO'
    end
    object QSaldoEstoqueDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
      Origin = 'BASE.SALDOESTOQUE.DATA_CADASTRO'
    end
    object QSaldoEstoqueDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
      Origin = 'BASE.SALDOESTOQUE.DATA_EXCLUSAO'
    end
    object QSaldoEstoqueDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
      Origin = 'BASE.SALDOESTOQUE.DATA_AUTERACAO'
    end
    object QSaldoEstoqueEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      Origin = 'BASE.SALDOESTOQUE.EXCLUIDO'
      FixedChar = True
      Size = 1
    end
  end
  object dsSaldoEstoque: TDataSource
    DataSet = QSaldoEstoque
    OnDataChange = dsSaldoEstoqueDataChange
    Left = 552
    Top = 72
  end
  object dsParametro: TDataSource
    DataSet = DMGestao.QParametro
    Left = 552
    Top = 136
  end
  object cdsMedia: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 544
    Top = 368
    object cdsMediaField01: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '01'
      DisplayFormat = '0'
    end
    object cdsMediaField02: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '02'
      DisplayFormat = '0'
    end
    object cdsMediaField03: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '03'
      DisplayFormat = '0'
    end
    object cdsMediaField04: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '04'
      DisplayFormat = '0'
    end
    object cdsMediaField05: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '05'
      DisplayFormat = '0'
    end
    object cdsMediaField06: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '06'
      DisplayFormat = '0'
    end
    object cdsMediaField07: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '07'
      DisplayFormat = '0'
    end
    object cdsMediaField08: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '08'
      DisplayFormat = '0'
    end
    object cdsMediaField09: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '09'
      DisplayFormat = '0'
    end
    object cdsMediaField10: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '10'
      DisplayFormat = '0'
    end
    object cdsMediaField11: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '11'
      DisplayFormat = '0'
    end
    object cdsMediaField12: TFloatField
      Alignment = taCenter
      DisplayWidth = 7
      FieldName = '12'
      DisplayFormat = '0'
    end
  end
  object dsMedia: TDataSource
    DataSet = cdsMedia
    Left = 584
    Top = 176
  end
end
